    /**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/11/12
 * Time: 4:22 PM
 */
Ext.define('CT.model.Trabajador', {
    extend: 'Ext.data.Model',
    fields: [
        { name: 'trabajador_k', type:'string' },
        { name: 'ficha', type:'string'},
        { name: 'nombre', type:'string' },
        { name: 'apellidos', type:'string' },
        { name: 'departamento_k', type:'string'},
        { name: 'departamento', type: 'string'},
        { name: 'delegado_k', type:'string'},
        { name: 'totalmilitancias', type: 'string'},
        { name: 'delegado', type:'string'},
        { name: 'secretario_k', type:'string'},
        { name: 'secretario', type: 'string'},
        { name: 'diascontratos', type: 'string'},
        { name: 'diasmilitancias', type: 'string'},
        { name: 'activo', type: 'boolean'}
    ]
});